var e,
  t = require("miniprogram-computed"),
  r = (e = require("@config/index")) && e.__esModule ? e : { default: e };
(0, t.ComponentWithComputed)({
  behaviors: [],
  properties: {
    src: { type: String, value: "" },
    mode: { type: String, value: "widthFix" },
    style: { type: String, value: "" },
  },
  data: { cdn: r.default.CDN },
  computed: {
    url: function (e) {
      return /^https/.test(e.src) ? e.src : "".concat(e.cdn, "/").concat(e.src);
    },
  },
  methods: {},
});
